package com.atguigu.springcloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Auther: gali
 * @Date: 2022-07-22 16:31
 * @Description:
 */
@Mapper
public interface StorageMapper {

    //扣减库存
    void decrease(@Param("productId") Long productId, @Param("count") Integer count);
}

